using System;

namespace Cfg.ValidationAttributes
{
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
    public abstract class CfgValidatorBaseAttribute : Attribute
    {
        /// <summary>
        /// 
        /// </summary>
        public string[] Contexts { get; protected set; }

        public CfgValidatorBaseAttribute(params string[] contexts)
        {
            Contexts = contexts;
        }
    }
}